home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1990 / Apr 90 / MacApp.Tech$ 4⁄20⁄90 / 1122-Re[2] social TrackMo-Apr90 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.7 KB  |  36 lines  |  [TEXT/GEOL]

  1. Item forwarded  by  A33          to A34
  2.  
  3. Item    2722713                         17-April-90        01:07PDT
  4.  
  5. From:   CH0068                          CH DEV Hamilton, Bonaduz,IDV
  6.  
  7. To:     MUYSVASOVIC                     ACE - Jean-Denis Muys-Vasovic
  8.         ROSENSTEIN1                     Rosenstein, Larry
  9.  
  10. cc:     MACAPP.TECH$                    MacApp Technical
  11.  
  12. Sub:    RE - RE - social TrackMouse
  13.  
  14. Thank you for your hints about tracking the mouse while doing something else.
  15. Because I have my own controls (their thumbs don't use the control manager)
  16. and no draggable windows the only problem which remains is the handling of
  17. clicks in the menu bar. I think I'll live for the moment with that (Question:
  18. Why is the mac tracking the mouse also when the menu bar is hidden ?. Wouldn't
  19. it be better just to ignore mouse clicks inside the menu bar when it is hidden
  20. ?).
  21.  You suggest dealing with the serial port from the TrackMouse method of my
  22. command object. I have implemented the communication Object as a cohandler
  23. which is called in the idle chain. What do you think about implementing the
  24. code which is tracking the mouse in a cohandler instead of a command object ?
  25. In this way my communication cohandler (and any other cohandlers I might have
  26. installed to do something while the user is idle) is called automatically even
  27. while the user drags the mouse. As with a command object, the cohandler is
  28. removed from the chain as soon as the user has finished dragging the mouse.
  29. Similar to a command object my cohandler has a method analogous to the commit
  30. method which is called if the user releases the mouse at a meaningful place in
  31. the view.
  32.  
  33.             Yours
  34.                         Tom
  35.  
  36.